
<h3 class="page-header">项目占比
<a href="<?= URL::site('projectProp/add');?>">+</a>
</h3>

<table class="table table-striped table-bordered">
	<thead>
    	
    	<tr>
    		<td align="center" >项目类型</td>
    		<td align="center" >项目预算(元)</td>
    		
    	</tr>
	</thead>
	<tbody id="tbody-del">
	<?php foreach ($list as $item):?>
    	<tr class="tr-del">
    		<td width="180px" height="40px">
    			<?= $item['project_Category'] ?>
        		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        		<a href="<?= URL::site('projectProp/detail?id='.$item['id']);?>" class="del btn btn-info btn-xs" >查看具体占比</a>
    		</td>
    		<td align="center"><?= $item['project_budget']?></td>	
    	</tr>
    <?php endforeach;?>
    </tbody>
</table>
<?= $pager?>

<script>
$(function() {
	$(".del").hide();
	$('#tbody-del tr').hover(function(){
        $(this).children().children(".del").show();
// 		alert(1);
    },function(){
        $(this).children().children(".del").hide();
//         alert(1);
    });
});
</script>